Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Ned Cisfanasterakol 28.Jul.03 09:38 PM a Web browser
Applications Development 6.0.2 CF1 All Platforms


I am calling Java methods within LotusScript using LS2J from a button. Below is my code:

Button option:
Uselsx "*javacon"
Use "BlueJava"

Button on click:
Sub Click(Source As Button)
Dim mySession As JavaSession
Dim myClass As JavaClass
Dim myObject As JavaObject
Dim header As String

Set mySession = New JavaSession()

'Get Java "BlueJava" class
Set myClass = mySession.GetClass("BlueJava;")

'Call Java "BlueJava" Constructor
Set myObject = myClass.CreateObject

'Get Java property (can just use the name)
header = myObject.PAR
End Sub


My code stp running at this line:

Set myClass = mySession.GetClass("BlueJava;")

and gives me this error:

LS2J Error: Threw java.lang.classNotFoundException: BlueJava;

What AM I DOING WRONG?






LS2J Error: Threw java.lang.classNo... (~Ned Cisfanaste... 28.Jul.03)
. . RE: LS2J Error: Threw java.lang.cla... (~Tanita Quetfre... 29.Jul.03)
. . . . RE: LS2J Error: Threw java.lang.cla... (~Ned Cisfanaste... 29.Jul.03)
. . . . . . RE: LS2J Error: Threw java.lang.cla... (~Tanita Quetfre... 30.Jul.03)
. . . . . . . . RE: LS2J Error: Threw java.lang.cla... (~Ned Cisfanaste... 30.Jul.03)
. . . . . . . . . . RE: LS2J Error: Threw java.lang.cla... (~Tanita Quetfre... 31.Jul.03)
. . . . . . . . . . . . RE: LS2J Error: Threw java.lang.cla... (~Ned Cisfanaste... 31.Jul.03)
. . . . . . . . . . . . . . RE: LS2J Error: Threw java.lang.cla... (~Tanita Quetfre... 1.Aug.03)
. . RE: LS2J Error: Threw java.lang.cla... (~Keiko Cisfoote... 22.Oct.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS